﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Artemis;

namespace JAWWS
{
    class Table
    {
        public float posX, posY, posZ = 0;
        public uint texID1,texID2;
        
        public GLUquadric stand;
        public GLUquadric top;

        public Table(MainForm main)
        {

            texID1 = main.TexIDs[1];
            texID2 = main.TexIDs[0];
            stand = GLU.gluNewQuadric();
            GL.glBindTexture(GLenum.GL_TEXTURE_2D, texID1);
            top = GLU.gluNewQuadric();    
        }
        public void draw()
        {
            GLU.gluCylinder(stand, 1.0, 1.0, 2.0, 50, 50);
            GLU.gluCylinder(top, 1.5, 1.5, 0.1, 50, 50);
        }
    }
}
